<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>


<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    
    <title>My JSP 'chatrain.jsp' starting page</title>
    
	 <link rel="stylesheet" href="../css/table.css" type="text/css"></link>
         <script type="text/javascript">
         function cha1(){
        var name=document.getElementById("name").value;
        var td=document.getElementById("td1");
        if(name.length==0){
           td.innerHTML="激励标准名称不能为空";
           return false;
        } else{
          td.innerHTML="";
          return true;
        }
         }
          function cha3(){
        var name=document.getElementById("password").value;
        var td=document.getElementById("td3");
        if(name.length==0){
           td.innerHTML="激励金额不能为空";
           return false;
        } else{
          td.innerHTML="";
          return true;
        }
         }
        function sub(){
          if(cha1()&&cha3()){
          return true;
          }else{
          return false;
          }
         }

         </script>
         <style type="text/css">
         span{
         color:red;
         }
         </style>
  </head>
  

	
		

	<body>
	<div id="addUserInfo">
	
</div>
			<table width="100%">
				<tr>
					<td>
						<font color="#0000CC">您正在做的业务是：人力资源--激励管理--激励标准设置
						</font>
					</td>
				</tr>
			</table>
			<form action="updatehrRewardStandards.action" method="post" onsubmit="return  sub()">
      <table width="100%" height="400" border="0" style="background-color:#CAFBCA;">
     <tr>
      <td height="10" colspan="2" align="center" class="TD_STYLE1">修改激励标准</td>
    </tr>
    <tr>
    <td width="32%" height="30" align="center" >激励标准编号：</td>
    <td  width="68%">
   ${rs.hrStaId}
    </td>
    </tr>
     <tr>
      <td width="32%" height="30" align="center" >激励标准名称：</td>
      <td width="68%" >
        <input name="rs.hrStaName" value="${rs.hrStaName}" id="name" type="text" onblur="cha1()"/><span id="td1"></span>
      </td>
    </tr>
       <tr>
      <td width="32%" height="30" align="center" >激励标准的金额：</td>
      <td width="68%" >
        <input name="rs.hrStaMoney" value="${rs.hrStaMoney}" id="password" onblur="cha3()"  type="text"/><span id="td3"></span>
      </td>
    </tr>
	<tr >
	 
      <td   height="30" colspan="2" >
      
        <input type="submit" value="修改" style="margin-left: 300px"/>	  &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
		
      </td>
      
    </tr>
    
  </table>
  </form>
	</body>
</html>